package com.eastjet.maintenance.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 岗位表
 * @TableName device_post
 */
@TableName(value ="device_post")
@Data
public class DevicePost implements Serializable {
    /**
     * 岗位id
     */
    @TableId(type = IdType.AUTO)
    private Integer postId;

    /**
     * 岗位名称
     */
    private String postName;

    /**
     * 岗位id(EF001)
     */
    private String code;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 岗位状态(0-启用 1-禁用)
     */
    private Integer postState;

    /**
     * 逻辑删除
     */
    private Integer isDelete;

    /**
     * 备注
     */
    private String notes;

    @Override
    public String toString() {
        return "DevicePost{" +
                "postId=" + postId +
                ", postName='" + postName + '\'' +
                ", code='" + code + '\'' +
                ", sort=" + sort +
                ", postState=" + postState +
                ", isDelete=" + isDelete +
                ", notes='" + notes + '\'' +
                '}';
    }
}